import axios from '../utils/request';

export function Query(params) {
    return axios({
        method: 'get',
        url: '/Role/page',
        params
    });
}

export function AssignPermissions(data) {
    debugger;
    return axios({
        method: 'post',
        url: '/Role/AssignPermission',
        data
    });
}

export function Test(data) {
    debugger;
    return axios({
        method: 'post',
        url: '/Role/Test',
        data
    });
}